package cn.kgc.client;

import cn.kgc.entity.Tag;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author mosin
 * date 2022/1/17
 * @version 1.0
 */
@FeignClient("TAGS")
public interface TagClient {

    @GetMapping("/tags/{id}")
    Tag getOne(@PathVariable Integer id);
}
